package com.harleyquinn.gulimall.auth.feign;

import com.harleyquinn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 第三方服务
 * @Author: harleyquinn
 * @Date: 2021/11/28 10:40
 */
@FeignClient("gulimall-auth-server")
public interface ThirdPartFeignService {

    @GetMapping(value = "/sendCode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}